{% extends "layout/administration.html" %}
{% load i18n %}
{% block headline %}
{% trans 'Change Password' %}
{% endblock %}
{% block middle %}
<form action="{{ PATH }}admin/change-password/" method="post">
    {% csrf_token %}
    <table border="0" class="password-change-form admin-form">
        <tr>
            <td>
                {{ form.old_password.label_tag }}:
            </td>
            <td>
                {{ form.old_password }}
            </td>			
        </tr>
        <tr>
            <td>
            </td>
            <td>
                {{ form.old_password.errors }}
            </td>
        </tr>  		
        <tr>
            <td>
                {{ form.new_password1.label_tag }}:
            </td>
            <td>
                {{ form.new_password1 }}
            </td>			
        </tr>
        <tr>
            <td>
            </td>
            <td>
                {{ form.new_password1.errors }}
            </td>
        </tr>  		
        <tr>
            <td>
                {{ form.new_password2.label_tag }}:
            </td>
            <td>
                {{ form.new_password2 }}
            </td>			
        </tr>
        <tr>
            <td>
            </td>
            <td>
                {{ form.new_password2.errors }}
            </td>
        </tr>  		
        <tr>
            <td colspan="2" class="center">
                <input type="submit" class="button" value="{% trans 'Save' %}" id="admin-form-submit"/>
            </td>
        </tr>
    </table>
</form>
{% endblock %}